package com.woniu.exception.recruit;

public enum RecruitExceptionCode {
    RECRUIT_NOT_EXIST(20001, "招聘信息不存在"),
    RECRUIT_STATE_ERROR(20002, "招聘信息状态错误"),
//    ORDER_INFO_NOT_ALL_TICKETS(40003,"有电影票没查到"),
//    ORDER_INFO_SESSION_HAD_STARTED(40004,"电影已开始"),
//    ORDER_INFO_UPDATE_TICKET_STATE_ERROR(40005,"有电影票已被购买"),
    ;


    private final Integer code;
    private final String message;

    RecruitExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
